#pragma once

#include "guildservicetimer.service.GuildServiceTimer.h"

class GuildServiceTimerImpl : public GuildServiceTimer {
public:
//implementation->
    GuildServiceTimerImpl();
    virtual ~GuildServiceTimerImpl();
    virtual bool onAfterFork(rpc::Rpc* rpc) override;
    virtual bool onBeforeDestory(rpc::Rpc* rpc) override;
    virtual void onTick(std::time_t ms) override;
    virtual void onServiceCall(rpc::StubCallPtr callPtr) override;
    virtual std::shared_ptr<LoginRes> Login(rpc::StubCallPtr call, const LoginArg&) override;
    virtual void Logout(rpc::StubCallPtr call, const LogoutNtfData&) override;
    virtual std::shared_ptr<GuildBuildingUpgradeRes> GuildBuildingUpgrade(rpc::StubCallPtr call, const GuildBuildingUpgradeArg&) override;
//implementation<-
};

